package com.zhouzi.zhaoyang.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

public class GetOrderListBean2  {


    /**
     * records : [{"id":2949,"createdTime":"2019-12-19 16:57:42","updatedTime":"2019-12-19 16:59:38","deleted":0,"code":"27-44-41-59","transactionId":"4200000422201912191681248710","outTradeNo":"19121900000166","orderStatus":3,"businessServiceId":27,"agentId":44,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"门店1_云2","phone":null,"storeUserId":35,"orderCreateUserName":"yun3","refundUserId":35,"orderRefundUserName":"yun3","openid":"o_GWlwzjbETiN_Dkj7poAGFpZohA","orderTotalFee":1,"memberTotalFee":1,"depositFee":0,"realPayFee":1,"settlementTotalFee":1,"couponFee":0,"payType":1,"tradeType":"SWEPT","profitSharing":"N","profitSharingStatus":0,"timeEnd":"20191219165741","orderId":null,"outOrderNo":null,"deviceNo":"DHAM4X19382466G88126544","miniOpenId":null,"beginTime":null,"endTime":null},{"id":2767,"createdTime":"2019-12-18 10:28:06","updatedTime":"2019-12-18 10:30:15","deleted":0,"code":"27-44-41-59","transactionId":"2019121822001491110598769783","outTradeNo":"19121800000085","orderStatus":3,"businessServiceId":27,"agentId":44,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"门店1_云2","phone":null,"storeUserId":35,"orderCreateUserName":"yun3","refundUserId":35,"orderRefundUserName":"yun3","openid":"2088802669311121","orderTotalFee":1,"memberTotalFee":1,"depositFee":0,"realPayFee":1,"settlementTotalFee":1,"couponFee":0,"payType":2,"tradeType":"SCAN","profitSharing":"N","profitSharingStatus":0,"timeEnd":"2019-12-18 10:28:12","orderId":null,"outOrderNo":null,"deviceNo":"DHAM4X19382466G88126544","miniOpenId":null,"beginTime":null,"endTime":null},{"id":2734,"createdTime":"2019-12-18 09:05:52","updatedTime":"2019-12-19 11:26:41","deleted":0,"code":"27-44-41-59","transactionId":"4200000463201912186040483214","outTradeNo":"19121800000033","orderStatus":3,"businessServiceId":27,"agentId":44,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"门店1_云2","phone":null,"storeUserId":102,"orderCreateUserName":"yun1","refundUserId":35,"orderRefundUserName":"yun3","openid":"o_GWlw1A946YSXn1Q5dBWvG_Tssw","orderTotalFee":1,"memberTotalFee":1,"depositFee":0,"realPayFee":1,"settlementTotalFee":1,"couponFee":0,"payType":1,"tradeType":"SCAN","profitSharing":"N","profitSharingStatus":0,"timeEnd":"20191218090559","orderId":null,"outOrderNo":null,"deviceNo":"DHAM4X19382466G88126544","miniOpenId":null,"beginTime":null,"endTime":null},{"id":2733,"createdTime":"2019-12-18 09:04:41","updatedTime":"2019-12-19 11:34:44","deleted":0,"code":"27-44-41-59","transactionId":"4200000471201912187336684909","outTradeNo":"19121800000032","orderStatus":3,"businessServiceId":27,"agentId":44,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"门店1_云2","phone":null,"storeUserId":102,"orderCreateUserName":"yun1","refundUserId":35,"orderRefundUserName":"yun3","openid":"o_GWlwzjbETiN_Dkj7poAGFpZohA","orderTotalFee":1,"memberTotalFee":1,"depositFee":0,"realPayFee":1,"settlementTotalFee":1,"couponFee":0,"payType":1,"tradeType":"FACEPAY","profitSharing":"N","profitSharingStatus":0,"timeEnd":"20191218090440","orderId":null,"outOrderNo":null,"deviceNo":"DHAM4X19382466G88126544","miniOpenId":null,"beginTime":null,"endTime":null},{"id":2730,"createdTime":"2019-12-18 08:59:50","updatedTime":"2019-12-18 08:59:50","deleted":0,"code":"27-44-41-59","transactionId":"4200000457201912188352926520","outTradeNo":"19121800000027","orderStatus":1,"businessServiceId":27,"agentId":44,"merchantId":41,"merchantName":"亿宏达(胡林云)","storeId":59,"storeName":"门店1_云2","phone":null,"storeUserId":102,"orderCreateUserName":"yun1","refundUserId":null,"orderRefundUserName":null,"openid":"o_GWlw1A946YSXn1Q5dBWvG_Tssw","orderTotalFee":1,"memberTotalFee":1,"depositFee":0,"realPayFee":1,"settlementTotalFee":1,"couponFee":0,"payType":1,"tradeType":"FACEPAY","profitSharing":"N","profitSharingStatus":0,"timeEnd":"20191218085949","orderId":null,"outOrderNo":null,"deviceNo":"DHAM4X19382466G88126544","miniOpenId":null,"beginTime":null,"endTime":null}]
     * total : 15
     * size : 5
     * current : 1
     * orders : []
     * searchCount : true
     * pages : 3
     */

    private int total;
    private int size;
    private int current;
    private boolean searchCount;
    private int pages;
    private List<RecordsBean> records;
    private List<?> orders;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public boolean isSearchCount() {
        return searchCount;
    }

    public void setSearchCount(boolean searchCount) {
        this.searchCount = searchCount;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public List<?> getOrders() {
        return orders;
    }

    public void setOrders(List<?> orders) {
        this.orders = orders;
    }

    public static class RecordsBean implements Parcelable {
        /**
         * id : 2949
         * createdTime : 2019-12-19 16:57:42
         * updatedTime : 2019-12-19 16:59:38
         * deleted : 0
         * code : 27-44-41-59
         * transactionId : 4200000422201912191681248710
         * outTradeNo : 19121900000166
         * orderStatus : 3
         * businessServiceId : 27
         * agentId : 44
         * merchantId : 41
         * merchantName : 亿宏达(胡林云)
         * storeId : 59
         * storeName : 门店1_云2
         * phone : null
         * storeUserId : 35
         * orderCreateUserName : yun3
         * refundUserId : 35
         * orderRefundUserName : yun3
         * openid : o_GWlwzjbETiN_Dkj7poAGFpZohA
         * orderTotalFee : 1
         * memberTotalFee : 1
         * depositFee : 0
         * realPayFee : 1
         * settlementTotalFee : 1
         * couponFee : 0
         * payType : 1
         * tradeType : SWEPT
         * profitSharing : N
         * profitSharingStatus : 0
         * timeEnd : 20191219165741
         * orderId : null
         * outOrderNo : null
         * deviceNo : DHAM4X19382466G88126544
         * miniOpenId : null
         * beginTime : null
         * endTime : null
         */

        private int id;
        private String createdTime;
        private String updatedTime;
        private int deleted;
        private String code;
        private String transactionId;
        private String outTradeNo;
        private int orderStatus;
        private int businessServiceId;
        private int agentId;
        private int merchantId;
        private String merchantName;
        private int storeId;
        private String storeName;
        private String phone;
        private int storeUserId;
        private String orderCreateUserName;
        private int refundUserId;
        private String orderRefundUserName;
        private String openid;
        private int orderTotalFee;
        private int memberTotalFee;
        private int depositFee;
        private int realPayFee;
        private int settlementTotalFee;
        private int couponFee;
        private int payType;
        private String tradeType;
        private String profitSharing;
        private int profitSharingStatus;
        private String timeEnd;
        private String orderId;
        private String outOrderNo;
        private String deviceNo;
        private String miniOpenId;
        private String beginTime;
        private String endTime;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getUpdatedTime() {
            return updatedTime;
        }

        public void setUpdatedTime(String updatedTime) {
            this.updatedTime = updatedTime;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getTransactionId() {
            return transactionId;
        }

        public void setTransactionId(String transactionId) {
            this.transactionId = transactionId;
        }

        public String getOutTradeNo() {
            return outTradeNo;
        }

        public void setOutTradeNo(String outTradeNo) {
            this.outTradeNo = outTradeNo;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public int getBusinessServiceId() {
            return businessServiceId;
        }

        public void setBusinessServiceId(int businessServiceId) {
            this.businessServiceId = businessServiceId;
        }

        public int getAgentId() {
            return agentId;
        }

        public void setAgentId(int agentId) {
            this.agentId = agentId;
        }

        public int getMerchantId() {
            return merchantId;
        }

        public void setMerchantId(int merchantId) {
            this.merchantId = merchantId;
        }

        public String getMerchantName() {
            return merchantName;
        }

        public void setMerchantName(String merchantName) {
            this.merchantName = merchantName;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getStoreName() {
            return storeName;
        }

        public void setStoreName(String storeName) {
            this.storeName = storeName;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getStoreUserId() {
            return storeUserId;
        }

        public void setStoreUserId(int storeUserId) {
            this.storeUserId = storeUserId;
        }

        public String getOrderCreateUserName() {
            return orderCreateUserName;
        }

        public void setOrderCreateUserName(String orderCreateUserName) {
            this.orderCreateUserName = orderCreateUserName;
        }

        public int getRefundUserId() {
            return refundUserId;
        }

        public void setRefundUserId(int refundUserId) {
            this.refundUserId = refundUserId;
        }

        public String getOrderRefundUserName() {
            return orderRefundUserName;
        }

        public void setOrderRefundUserName(String orderRefundUserName) {
            this.orderRefundUserName = orderRefundUserName;
        }

        public String getOpenid() {
            return openid;
        }

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public int getOrderTotalFee() {
            return orderTotalFee;
        }

        public void setOrderTotalFee(int orderTotalFee) {
            this.orderTotalFee = orderTotalFee;
        }

        public int getMemberTotalFee() {
            return memberTotalFee;
        }

        public void setMemberTotalFee(int memberTotalFee) {
            this.memberTotalFee = memberTotalFee;
        }

        public int getDepositFee() {
            return depositFee;
        }

        public void setDepositFee(int depositFee) {
            this.depositFee = depositFee;
        }

        public int getRealPayFee() {
            return realPayFee;
        }

        public void setRealPayFee(int realPayFee) {
            this.realPayFee = realPayFee;
        }

        public int getSettlementTotalFee() {
            return settlementTotalFee;
        }

        public void setSettlementTotalFee(int settlementTotalFee) {
            this.settlementTotalFee = settlementTotalFee;
        }

        public int getCouponFee() {
            return couponFee;
        }

        public void setCouponFee(int couponFee) {
            this.couponFee = couponFee;
        }

        public int getPayType() {
            return payType;
        }

        public void setPayType(int payType) {
            this.payType = payType;
        }

        public String getTradeType() {
            return tradeType;
        }

        public void setTradeType(String tradeType) {
            this.tradeType = tradeType;
        }

        public String getProfitSharing() {
            return profitSharing;
        }

        public void setProfitSharing(String profitSharing) {
            this.profitSharing = profitSharing;
        }

        public int getProfitSharingStatus() {
            return profitSharingStatus;
        }

        public void setProfitSharingStatus(int profitSharingStatus) {
            this.profitSharingStatus = profitSharingStatus;
        }

        public String getTimeEnd() {
            return timeEnd;
        }

        public void setTimeEnd(String timeEnd) {
            this.timeEnd = timeEnd;
        }

        public String getOrderId() {
            return orderId;
        }

        public void setOrderId(String orderId) {
            this.orderId = orderId;
        }

        public String getOutOrderNo() {
            return outOrderNo;
        }

        public void setOutOrderNo(String outOrderNo) {
            this.outOrderNo = outOrderNo;
        }

        public String getDeviceNo() {
            return deviceNo;
        }

        public void setDeviceNo(String deviceNo) {
            this.deviceNo = deviceNo;
        }

        public String getMiniOpenId() {
            return miniOpenId;
        }

        public void setMiniOpenId(String miniOpenId) {
            this.miniOpenId = miniOpenId;
        }

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }



        public RecordsBean() {
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(this.id);
            dest.writeString(this.createdTime);
            dest.writeString(this.updatedTime);
            dest.writeInt(this.deleted);
            dest.writeString(this.code);
            dest.writeString(this.transactionId);
            dest.writeString(this.outTradeNo);
            dest.writeInt(this.orderStatus);
            dest.writeInt(this.businessServiceId);
            dest.writeInt(this.agentId);
            dest.writeInt(this.merchantId);
            dest.writeString(this.merchantName);
            dest.writeInt(this.storeId);
            dest.writeString(this.storeName);
            dest.writeString(this.phone);
            dest.writeInt(this.storeUserId);
            dest.writeString(this.orderCreateUserName);
            dest.writeInt(this.refundUserId);
            dest.writeString(this.orderRefundUserName);
            dest.writeString(this.openid);
            dest.writeInt(this.orderTotalFee);
            dest.writeInt(this.memberTotalFee);
            dest.writeInt(this.depositFee);
            dest.writeInt(this.realPayFee);
            dest.writeInt(this.settlementTotalFee);
            dest.writeInt(this.couponFee);
            dest.writeInt(this.payType);
            dest.writeString(this.tradeType);
            dest.writeString(this.profitSharing);
            dest.writeInt(this.profitSharingStatus);
            dest.writeString(this.timeEnd);
            dest.writeString(this.orderId);
            dest.writeString(this.outOrderNo);
            dest.writeString(this.deviceNo);
            dest.writeString(this.miniOpenId);
            dest.writeString(this.beginTime);
            dest.writeString(this.endTime);
        }

        protected RecordsBean(Parcel in) {
            this.id = in.readInt();
            this.createdTime = in.readString();
            this.updatedTime = in.readString();
            this.deleted = in.readInt();
            this.code = in.readString();
            this.transactionId = in.readString();
            this.outTradeNo = in.readString();
            this.orderStatus = in.readInt();
            this.businessServiceId = in.readInt();
            this.agentId = in.readInt();
            this.merchantId = in.readInt();
            this.merchantName = in.readString();
            this.storeId = in.readInt();
            this.storeName = in.readString();
            this.phone = in.readString();
            this.storeUserId = in.readInt();
            this.orderCreateUserName = in.readString();
            this.refundUserId = in.readInt();
            this.orderRefundUserName = in.readString();
            this.openid = in.readString();
            this.orderTotalFee = in.readInt();
            this.memberTotalFee = in.readInt();
            this.depositFee = in.readInt();
            this.realPayFee = in.readInt();
            this.settlementTotalFee = in.readInt();
            this.couponFee = in.readInt();
            this.payType = in.readInt();
            this.tradeType = in.readString();
            this.profitSharing = in.readString();
            this.profitSharingStatus = in.readInt();
            this.timeEnd = in.readString();
            this.orderId = in.readString();
            this.outOrderNo = in.readString();
            this.deviceNo = in.readString();
            this.miniOpenId = in.readString();
            this.beginTime = in.readString();
            this.endTime = in.readString();
        }

        public static final Parcelable.Creator<RecordsBean> CREATOR = new Parcelable.Creator<RecordsBean>() {
            @Override
            public RecordsBean createFromParcel(Parcel source) {
                return new RecordsBean(source);
            }

            @Override
            public RecordsBean[] newArray(int size) {
                return new RecordsBean[size];
            }
        };
    }
}
